﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Cls_BoticasySaludBE
{
    public class DetPedido
    {
        //public int CodigoDetPedido { get; set; }
        //public int CodigoCabPedido { get; set; }
        //public int CodigoProducto { get; set; }
        //public int Cantidad { get; set; }
        //public decimal Subtotal { get; set; }

        [DataMember(Name = "producto")]
        public Producto ProductoItem { get; set; }
        [DataMember(Name = "cantidad")]
        public int Cantidad { get; set; }
        [DataMember(Name = "precio")]
        public double Precio { get; set; }
        [DataMember(Name = "SubTotal")]
        public double SubTotal { get; set; }


    }
}
